﻿// -----------------------------------------------------------------------
// <copyright file="GalleryControlBlokSizeSection.cs" company="EPAM Systems">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
using System.Configuration;

namespace Epam.PhotoGallery.Bussines.Configuration
{
	

	/// <summary>
	/// TODO: Update summary.
	/// </summary>
	public class GalleryControlBlockSizeSection : ConfigurationSection
	{
		#region Constants

		/// <summary>
		/// string GalleryControlBlokSizeSectionName
		/// </summary>
		public const string GalleryControlBlockSizeSectionName = "GalleryControlBlockSize";

		#endregion


		/// <summary>
		/// Gets or sets the count.
		/// </summary>
		/// <value>
		/// The count.
		/// </value>
		[ConfigurationProperty("count", IsRequired = false)]
		public int Count
		{
			get
			{
				return (int)this["count"];
			}
			set
			{
				this["count"] = value;
			}
		}
		
		[ConfigurationProperty("height", IsRequired = false)]
		public int Height
		{
			get
			{
				return (int)this["height"];
			}
			set
			{
				this["height"] = value;
			}
		}
		
		[ConfigurationProperty("width", IsRequired = false)]
		public int Width
		{
			get
			{
				return (int)this["width"];
			}
			set
			{
				this["width"] = value;
			}
		}

	}
}
